//
//  ImageViewCell.m
//  滑动动画
//
//  Created by QC.L on 15/6/19.
//  Copyright (c) 2015年 QC.L. All rights reserved.
//

#import "ImageViewCell.h"

@implementation ImageViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {

        self.scrollView = [[UIScrollView alloc] initWithFrame:self.contentView.frame];
        [self.contentView addSubview:self.scrollView];
        self.scrollView.userInteractionEnabled = NO;
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
       self.myImageView.userInteractionEnabled = NO;
        [self.scrollView addSubview:_myImageView];
        
    }
    return self;
}

@end
